package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/08
*/
@Data
@ApiModel("诊所 clinic")
@Table(name = "tbl_clinic")
@NoArgsConstructor
@AllArgsConstructor
public class TblClinic extends BaseEntity {
    @Column(name = "group_id")
    private String groupId;

    @Column(name = "company_id")
    private String companyId;

    @Column(name = "country_id")
    private String countryId;

    private String name;

    private String address;

    private String phone;

    private Integer status;

    @Column(name = "disp_order")
    private Integer dispOrder;

    @Column(name = "license_number")
    private String licenseNumber;

    private String image;

    @Column(name = "referral_email")
    private String referralEmail;

    @Column(name = "memo_email")
    private String memoEmail;

    @Column(name = "appointment_email")
    private String appointmentEmail;

    @Column(name = "use_default_payment_method")
    private Integer useDefaultPaymentMethod;

    @Column(name = "gst_registered")
    private Integer gstRegistered;

    @Column(name = "gst_registration_no")
    private String gstRegistrationNo;

    /**
     * 0:use company logo ; 1:create
     */
    @Column(name = "logo_type")
    @ApiModelProperty("0:use company logo ; 1:create")
    private Integer logoType;

    /**
     * Documents required for in-clinic appointments
     */
    @Column(name = "appointment_offline_document")
    @ApiModelProperty("Documents required for in-clinic appointments")
    private String appointmentOfflineDocument;
}